package cn.appsys.service.appinfo;
import java.util.List;

import cn.appsys.pojo.AppInfo;



public interface DevAppService {
	
	
	/**
	 * 增加用户信息
	 * @param devUser
	 * @return
	 */
	public boolean add(AppInfo appInfo) throws Exception;
	
	/**
	 * 根据条件查询用户列表
	 * @param queryUserName
	 * @param queryUserRole
	 * @return
	 */
	public List<AppInfo> getAppInfoList(String querySoftwareName,Integer queryStatus, Integer queryFlatfromId,
			Integer querycategoryLevel1, Integer queryCategoyrLevel2, Integer queryCategoyrLevel3, Integer queryDevId,
			Integer currentPageNo, Integer pageSize) throws Exception;
	/**
	 * 根据条件查询用户表记录数
	 * @param queryUserName
	 * @param queryUserRole
	 * @return
	 */
	public int getAppInfoCount(String querySoftwareName, Integer queryStatus, Integer queryFlatfromId,
          Integer querycategoryLevel1, Integer queryCategoyrLevel2, Integer queryCategoyrLevel3, Integer queryDevId)throws Exception;
	 
	
	/**
	 * 根据userCode查询出User
	 * @param userCode
	 * @return
	 */
	public AppInfo getAppInfoById(Integer id) throws Exception;
	
	/**
	 * 根据ID删除user
	 * @param delId
	 * @return
	 */
	public boolean deleteAppInfoById(Integer delId) throws Exception;
	
	/**
	 * 修改用户信息
	 * @param devUser
	 * @return
	 */
	public boolean modify(AppInfo appInfo) throws Exception;

	

	

	
	
	
}
